You will have no rights to the house - keep that in mind, plenty of foreigners before you lost everything doing the same thing, even so there are others that have great family relationships with their Thai wife….in the end the only you can make that choice and know the person you are marrying
Not often you would buy someone a house unless you lawfully have ownership interest in it