I agree with RK. Also I try to direct people away from AIO because if the monitor goes out then you're up a creek. There are really good units out that are a good price. Being able to shop around is very helpful and will help you get the best deal. Having to get something the same day will cost you all the way around.
I’m in that exact situation right now. I have a Lenovo AIO 27” 4K touchscreen what was top end when bought back in 2016 or 2017. Last summer, the monitor started to go out on it and it’s been running with a secondary monitor sitting in front of it. The upside is that the chip, memory and drives are not soldered in so I can build a system around them. I just picked up the new non-AIO flight sim system but am keeping that one flight sim focused.
AIO should be called FAU. They definitely do Fail-As-a-Unit.