For a very unusual definition of 'planned.' It wasn't like they knew Charles the Bold would be killed at Nancy and were just waiting for the chance to marry Anne, or the marriage contract with Lajos was written with the knowledge he'd be childless and dead at Mohacs at the age of 23.
As I said, what the Habsburgs did was opportunistically exploit events when they came up, fighting wars to hang on to their sometimes tenuous rights. But they'd have been just as willing to inherit (or be elected) king of Poland or Denmark or Pommerania if that came up.
When HRE Frederick III and Charles the Bold first started negotiating that marriage between the former's heir Maximilian and the latter's heiress Mary, she had been the heiress quite some time now and the present marriage of Charles also had remained childless for quite some time. However the marriage of Mary with Maximilian only was agreed upon after Charles had died at Nancy.
Regaining Hungary and Bohemia was also policy, when Ladislaus was still childless, so before Louis and Anna were born, the Habsburgs already had an inheritance treaty with Ladislaus. Later a double marriage was needed, which at first was a setback for the Habsburgs, with Mohacs and perhaps even Louis being too rash, they got 'lucky'.
What the Habsburgs did befits the era, that is to say, I don't think any other contemporary dynasty would have acted differently.
Finally there are a few differences. The Habsburg powerbase were the Austrian Hereditary Lands and their position within the Empire. The Burgundian Inheritance, which consisted of quite a lot Imperial territories, which also happened to be quite wealthy, could further strengthen their position in the Empire.
The Habsburgs and Austria, naturallly had an interest in neighbouring Bohemia and Hungary. That they unhappy their house (albeit a different branch) lost those thrones was an extra motive. Bohemia also meant a further strengthening of their position in the Empire and it would make them a prince-elector.
So the Habsburgs had strategic interests, when it came to those lands. Still if Poland or Denmark would have come up, then naturally they would have accepted it, but trying to gain those would have been a lesser priority.