Yes most definitely. Forum participation for one establishes a personal networking made possible through discussions on related topics between people sharing similar interests and two, forum commenting can help in building quality links too. Both of which have desirable effects on
SEO.