Hi,
While your reasoning makes sense Roderick, both mean "I want to buy a house" and no one would take 家 here to mean "my family". In this short sentence が and を are completely interchangeable. You could technically even use は but that wouldn't be very common and it would feel like the sentence is missing something. Like it's supposed to continue. "I" here is understood and therefore omitted.
I guess it boils down to nuance and the context. I can't explain the difference but here are a couple of example sentences using the different particles:
私は家が買いたい
が emphasizes that it is a house that I want to buy. Not a car or something else for example. The nuance is the same if you leave the "私は" part out. If you turn the particles around like this "私が家は買いたい", the meaning becomes "It is ME who wants to buy the house". But in this sentence I think it would be better to use を, "私が家を買いたい".
家はいつか買いたいな
Using は here puts the emphasis on the feeling of wanting to buy it at some point. Here also "I" is understood.
私は子供に家を買いたい
This is a very straightforward "I want to buy a house for my kid". Again, you could (and probably would) omit "私は".