You can

In the case of fastening the skirting board to drywall, you can do without dowels, with some screws that should go through the plasterboard sheet and the profile of the floor.