Yes, you can:
ADAM is an optimizer you van use to solve cost functions which emerge from different models, beyond neural networks. You can also apply ADAM in classic ML, here an example for linear regression w/ ADAM: মৌলিক রিগ্রেশন: জ্বালানী দক্ষতার পূর্বাভাস | TensorFlow Core
If you are interested in more details here, this thread might be worth a look: Difference between Rmsprop and ADAM - #2 by Christian_Simonis
Best regards
Christian