With a few exceptions for business-oriented models, you will give up a lot of room for expansion in an AIO versus a traditional desktop tower. Cracking open an AIO for an upgrade or fix ...
Bear in mind that while many desktop towers come with accessories, you’ll still need to decide how much you’re budgeting for things like a mouse, a keyboard, a monitor, mouse pad, speakers ...