I did it at the office. Worst part was just awkwardness with coworkers (he's not eating?!), but I seem to always get that from people with food even when I'm eating anyway.
Different people's bodies react differently though, doing a couple 24h/48h fasts over the weekend would be a great way to get the hang of it (and let your body get used to it too).
I actually found total fasts easier than various diets I've done, for some reason. Probably psychological, the promise of "eat whatever I want when this is over" vs "now I have to be sad and deprived forever".
Oh, fair warning, if you have trauma or emotional instability, it's liable to surface during a fast. (Conversely if you are doing shadow work, fasting can be an excellent tool for this reason.) We use food for a surprising amount of emotional regulation.