Assuming that you will be allowed to renovate it and then rent it out, what has been done already? If it doesn’t already have a wet room and wide doorways, higher plug sockets, and you do the work on those things, then you might make a bit on reselling, but with the fees it might not be worth the effort.
If however you are buying it to live in for 20 years then go for it to make it comfortable for you.
However it’s a restricted market just for over 55s, with low resale values and high service charges, so unless it’s incredibly cheap, it would be better to go for an unrestricted property , pay a bit more, but open to all ages and families.