I train at night (starting at 9pm at the earliest, 11pm at the latest) every day except the weekends because the gym closes at 8. I prefer it over any other time of the day. What I do (this may not help you):
I drink a cup or two of coffee, sipping it starting an hour before I train
I eat dinner around 630 or 7. Nothing immediately before
Some days, you’re going to have to just suck it up and train. Some days are going to be rough because you might not have eaten enough or work a long ass day, but just get what you need done.
Training at different times seems to take a couple of weeks to fully adjust from my perspective. Just take your time and try not to get too frustrated from bad training days. They’ll pass. They always do.
As far as training before work, you can do it. Just start with VERY minimal work (light shit, machines, light dumbbells, body weight, sleds, etc) and see if it impedes recovery much or at all. Again, it’ll take a few weeks to adjust. Good luck man