Eat at the time that works best for you now. If you are concerned about eating late not being good for you, worry about that later, when you are more used to fasting.
But really, the time of day when you eat is way less important than other things. Prioritize, instead of trying to get everything “perfect.”
Embrace the uncomfortable. I used to have a hard time sleeping on an empty stomach. I would get out of bed to eat something! IF changed that though. Yes, it was uncomfortable, but it’s something you will build a tolerance to.