I have a pear tree. When I brought it home I realised there wasn’t enough room for it in the beds so I have kept it in a pot on my patio. It is fine and has produced a good crop of gorgeous pears this year. There was something on Gardeners Question Time recently about keeping fruit trees in pots. It’s fine.
Having said that, I don’t know anything about ‘patio varieties’ of fruit trees. I am guessing they have been pre stunted in some way so perhaps that limits fruiting? Google the variety and see.