The very underrated movie "Redbelt" kind of addresses it. It's not about enlightenment, but the challenges of following a warrior's ethos in a modern world. It includes job, money, friendship, legal, and marriage challenges and the main character struggles to stay true to himself and his code throughout.
The ending scene is magnificent.