Wood pellets in a smoke box:
As long as they are designed for cooking/smoking (not treated wood pellets that you made yourself), no problem.  If it were me, I would ignite a small portion and allow to burn for 5 to 10 minutes, blow out the flame, then add fresh pellets to the already burning portion (without smothering).