Yes, if you happen to be interested in philosophy and good at it, but not otherwise – but so does bricklaying. Anything you're good at contributes to happiness.
When asked "Does philosophy contribute to happiness?" (SHM 76), as quoted in The quotable Bertrand Russell (1993), p. 149.