Lit Hum seems to think so, and they have a quote from Beethoven’s diary:
Blessed is the man who, having subdued all his passions, performeth with his active faculties all the functions of life, unconcerned about the event… Be not one whose motive for action is the hope of reward. Perform thy duty, abandon all thought of the consequence, and make the event equal, whether it terminate in good or evil; for such an equality is called yoga.
– A quote from the Bhagavad Gita that Beethoven wrote into his diary
Beethoven never really professed a leaning towards any one faith, but took a more eclectic approach. It’s nice to think that some of the most revered musicians used sacred texts and religious scriptures as a springboard to their masterpieces.
Perhaps you’ll find an inspiration in the Gita too!