It shouldn’t be an issue unless you have underlying health issues. Listen to your body and try it. You should find it’s fine
​
Exercise during a fast not only isn’t an issue for most but typically actually boosts a lot of the benefits. 21 hours is still pretty early in but you should keep electrolytes on hand and take some throughout your exercise if it’ll be intense