As with most Samsung A-series devices, you can install a Generic System Image (GSI), although there's no support from bigger groups and projects and no guarantee on what will work correctly out of the box. Most notoriously for Samsung devices, support for the cellular modem on third-party ROMs is hit-or-miss.
See: https://github.com/TadiT7/treble_experimentations_wiki/blob/master/Samsung-Galaxy-A02s.md
You can also ask me more questions about the process of installing a GSI on a Samsung device, if you want to pursue this option. I had one hell of a time getting a GSI working on my Samsung Tab A7 Lite.
Edit: Make sure it's not carrier locked, else you won't be able to unlock the bootloader and will be stuck on the stock OS.
"Are you human?"
I understand why it's needed, but it's damn annoying when every single website asks.