What is the real reason behind these thought processes / this confused construct? The fear of being taken advantage of? Wanting to secure someone "cheaply"?
If I can buy a property with 95% certainty and start making such (mental) contortions about whether and how to consider a second person, I would rather pay the remaining 5% of this property alone and thus create clear financing and ownership conditions for myself and the other person regarding this property. Then no one is taken advantage of, neither person A nor person B. The non-owner can be granted a usufruct right for a certain period or for life, as well as regulations regarding ancillary costs (by notarized contract / will), if this is desired by both parties.
If it is about the "cheap" security of a non-related person, I go to a neutral financial or tax advisor or lawyer with whom I develop a simultaneously secure and as inexpensive as possible construct through which the non-related person can be permanently secured. This could also be done, for example, through various types of investments, foundations, etc. etc.
Conclusion: Behind this – excuse me – mess lies another motive. That must be clearly worked out, then a fair and cost-efficient solution can be found.