Probably, but it'll be very slow going.  You have nowhere near the recommended hardware for that game. Recommended hardware for the game:
Can I play GTA V in Inspiron 3593 i3 10 gen 4 gb
Can I play GTA V