They are both not very good in my opinion. I would say: "My weakness is that I am a workaholic."
At the first glance, I thought that the first sentence meant "My weakness is behaving like a workaholic.", which doesn't make much sense.
I am not a teacher.