Theoretically yes any degree subject could do so, but there are some things to consider. First of all for some jobs, like investment banking, the subject you study doesn't matter, but going to a "target uni" does matter, and it's worth noting target unis tend to offer traditionally academic degrees so some subjects may be unavailable at those unis (many design subjects for example).
It's also worth noting though that often a lot of it depends neither on the course nor the uni, but on the individual and how persevering they are in seeking work experience, making lots of applications etc. I imagine a lot of those successful in landing a high paying position would be fairly successful getting that position from any degree subject as a result.
Finally, bear in mind that what are often perceived as high paying professions may have additional "baggage" which makes the overall "package" worth less, relatively speaking. In the aforementioned example of banking, long working hours being expected (even if you don't necessarily have anything to do you would be expected to be there and look busy until late at night usually) and weekend working without overtime pay means that the actual average hourly rate is considerably lower. Combine that with less time outside of work to do other things, requiring you spend more money for convenience in getting those things faster (e.g. you don't have time to cook dinner so order out), will tip the overall balances of how that income actually gets spent and thus how much you really have available. One can also try to put a price on free time and so on, and deduct that from their earnings potentially.
All that said, it's also important to note in some sectors particular degrees may be required either simply to enter the sector (e.g. engineering or most healthcare professions, you would normally need an applicable degree in the first place) and hence reach a high paying role later, or to access those high paying roles (a lot of big international companies may functionally require an MBA of those going for executive level positions for example). In some fields the level of skill required to reach the highest earnings potential fundamentally assumes/is equivalent to degree level study in the field even if you don't have a degree (e.g. most creative arts/design fields, for roles where you would be a creator rather than managing other creators, you need to have strong skills in your media which would include most of the basic skills taught in a design/art school degree - and to be really high earning as a freelancer you also need very strong networking and entrepreneurial skills otherwise).