No, there is no console command that allows you to change how many perk points you have. You either need to give yourself perks directly, as in Kaizerwolf's answer, or use a mod to adjust your perk points.
If you have the Deadly Dragons mod, you can give yourself dragon souls in the console, and then use the mod to convert them to perk points. If you want two more perk points, give yourself ten dragon souls with
player.modav dragonsouls 10, and then use the Deadly Dragons mod configuration menu to convert the souls to perk points (if you kept the default conversion rate of 5 dragon souls per perk point).
There might be other mods that make the process more convenient, but Deadly Dragons is the only one I've used.