Will wall anchors work when screwed into a stud?
Typically you would remove them, however the anchor you are using is marketed as a "stud solver" meaning that it can be driven into a stud.  I think it is fine to leave them.

If you were using small plastic drywall anchors then I'd definitely remove them and drive a screw directly into the stud.