Anything with a mouth can bite. You pick up beetles by their back anyway so they can't reach you. Stag beetles have troubles biting because their antlers block them but they are still capable of it.
The question is how hard the bite will be, some smaller ones will just feel like a pinch, some like the wood-boring beetles develop strong biting power and hurt.