If you don't mind dealing w/ tenants occasionally not paying
If you don't mind dealing w/ tenants occasionally not paying rent, buying rentals in working class neighborhood is OK, especially if you find a property manager that you can work with.
If you're moving soon, you should wait after the move. Remote landlording is hard, though not impossible.