No.
Bj was awesome in his Prime. He had an exciting LW and WW run even if both were short.
His fight with Machida should not be mentioned. It was a fight between a Machida trying to not engage with BJ thinking he was a Maia like BJJ phenom when in fact that is not Penns type of BJJ. Instead it ended up a point striking match which Penn is very good at, with Machida holding back due to not wanting to get grabbed and Maia'd.
BJ Penn is the perfect example of what happens when a fighter gets too comfortable and gets away from his grappling and training roots and loses his cardio. Once he started believing in his boxing too much train BJJ as much so that he kept his grappling cardio his game became very one dimensional. He was good in that one dimension (boxing) but his cardio always failed him as the fight went on. Sad because I think he could have dominated LW like GSP did WW if he stayed focused on his BJJ and returned to LW and cleaned out the various org's, as a free agent, where all the top LW's were fighting.
Not comparing them but Conor McGregor also lost his cardio but for different reasons related to partying and the good life.