Sorry but no. The only Federal educational credits are for college level education (state might be different).
(Pre-school can sometimes qualify for child care credit if necessary so that you could work, but online would not qualify.)
**Disclaimer: This post is for discussion purposes only and is NOT tax advice. The author takes no responsibility for the accuracy of any information in this post.**