No? If it's done in your spare time, it isn't work. Even if it happens to be something you legitimately could have done during work hours.
This is obviously controversial for individual contributors, but it's well established in IP precedent. It's why you can't work at Google and develop a competing product in your off hours, even if it's "on your own time" and on your own equipment.