Usually, all-in-ones are integrated, much like laptops and not as easy to upgrade as a desktop.
Open the case and see if there's space for such a card and if you can change the PSU and the cooling to accomodate it.
I'm a high schooler looking to upgrade my MSI AE2712G All-in-one PC.
Link for specs:
I was wondering if I could swap out my old GT630M GeForce for an RTX 1080 or 2060. What other components should I swap out? I can't change the i5-3470S processor though, it's integrated into the motherboard. (PC runs on win 10).
I am fairly new to this but I would very gladly take your opinions.