I think if we have the knowledge then SEO is free of cost. But if we dont know how to do SEO, then we have to take classes or learn from someone or hire the SEO service, and in today's world, no one will give anything free of cost.
So answers are both, Yes and No, and choice is yours.