Simple answer: No.
Regular W-2 employees are no longer (since 2018) allowed to deduct job expenses, including education. If you're self employed, you can deduct the cost, as a business expense, on schedule C.
If the courses were taken at a recognized college or vocational school (educational institutions eligible to participate in the student aid programs administered by the Department of Education), you can take either the Lifetime Learning Credit (but not the American Opportunity credits)