HEllo @DylanGonc
You can absolutely upgrade that model desktop with those parts.
An RTX 206-2070 would be a significant upgrade, especially if you are using or going to upgrade to a higher refresh rate monitor like 144Hz (if you're only using a standard 60Hz).
You will need to read up on the new cards specs for length and then measure the inside of the case where the current card is to make sure it will fit. I dont have that actual measurement to look up.
Your power supply should already be a 500w ATX PSU. The 2060 will work fine on that. If going 2070, look up its requirements. It might need a little more. If so, you can upgrade that as well.
Is this what you needed to know? Let me know.