That's a solid entry level camera. If you don't mind spending a little more, I'd go with the M50. A Mark II version was just released, but doesn't have many improvements. Both of these cameras use the EF-M mount for lenses. If you want a wide angle lens, Sigma's 16mm f/1.4 is great and will let you take pictures in dim lighting conditions. Canon's 32mm f/1.4 is also incredible as an (almost) 50mm equivalent walk around lens. If you want to get into the big time, you can get an EF adapter that will let you use Canon's more pro level lenses.
I just ordered an Opteka 420-800mm for $99 from Amazon just because it looks interesting. Should take some great moon shots.
They're not that good. They're smooshy every focal length and have absolutely abysmal contrast. The moon will occupy a bigger portion of your frame due to the ridiculously long focal length, but will resolve less detail nonetheless.
For example:

An Opteka lens capture shot on a Nikon D3500 at 800mm (1200mm full frame equivalent)

Captured on a Sony a6100 with an adapted Sigma 100-400mm lens at 400mm (600mm full frame equivalent)
*This lens is ridiculously good by the way, especially adapted to an R mount body.

Captured on an EOS R6 with a Sigma 150-600mm lens at 600mm
I've got so much invested in lenses, moving on over to like the Canon R or R6, which I think would be the equivalent upgrade to the Mark II, I'd really want to invest in native glass.
That's not really necessary. RF lenses are all incredible optically, but your EF lenses will work just as well on an RF body (and often times even better due to the R system's superior AF system) as they do on your EF body.