Hi OP!
Just going to hop on and say a flat is a very reasonable first purchase. Many people can only afford/want flats for their first home, so there will always be a demand for flats. If you buy a flat that needs a bit of work, you can make a bit of profit if you put some money into it to make it a bit nicer.
My husband and I are in a flat now which we purchased for £380k. We've put £10k worth of improvements into it and our most recent valuation was £475k (we live in a very high demand area). We've only been there for a year, and we're hoping to sell after my maternity leave ends in 2026, and that'll give us a much bigger deposit towards a family home outside of London. We'd never be able to buy a family home outside London if we hadn't done this.
Our flat is also a share of the freehold so we pay no leasehold costs. Our service charge is £180pm and this includes water bills, cleaners, gardeners, agent fees, electricity for communal areas, and money towards a savings pot for bigger renovations (we recently had our block's roof replaced).
We're also the only flat that has direct access to the communal garden, so we're pretty much the only ones who use it!
Previously, we were paying £1600 in rent for a 1 bed flat in the same area. Now we own a 2 bed flat and our mortgage is £1,200. Plus service charge coss us £1380. Which allows us to save compared to renting.
It's about looking at the rental market and seeing what's available, and comparing it with how much you'd pay in mortgage - is it worth it?