Yes it can be fine that long. Regurgitation needs time for the digestive tract to heal to not develop issues. This will also force you to limit interaction with the snake which is crucial to get it to reduce stress.

It's nothing on you as a responsible adult it is however that wild animals rarely work as pets