Is it okay to just upgrade my GPU? [closed]

I dont know much about pc’s but I managed to put one together 2 years ago now, I have a i5 12400f, RTX 3050 8GB OC, 16GB RAM, 750 Watt power supply and a MSI B660M Mortar ddr4 motherboard. Is it okay if I only upgrade my GPU to a RTX 5060 TI 16GB? If someone that really understands pc’s can help me would be really appreciated.