A functional group is a portion of a molecule that is a recognizable/classified group of bound atoms. In organic chemistry it is very common to see molecules comprised mainly of a carbon backbone with functional groups attached to the chain.
The definition of functional groups itself says that the portion of a molecule that is recognizable is a functional group
and we can recognise an alkane, alkene and alkyne so yes they are functional groups.