Sure, might want to throw a couple brads or staples in there to hold everything tight while the glue dries, but the bond from glue is stronger than screws or nails, anyway.
Except when you're gluing end-grain to end-grain, as you would when making miters. The joint may still end up being strong enough, but it will
not be as strong as if you'd joined two boards side-to-side. This is one of the reasons why miter joints are often reinforced with biscuits, splines, keys, etc.
The other challenge with a miter joint is just holding everything together while the glue sets. The miters will tend to slip past each other, especially if you have clamps involved, so glue-up can be tricky. The typical solution for this is to lay the joint out flat, tape miters together with clear packing tape, put glue on, then assemble it. The packing tape does a pretty good job of holding the joints together while the glue sets. Do a dry-run with the tape first, just to make sure you have all of the joints tight. The worst thing in the world is to have everything covered with glue and then discover that the tape is allowing the miters to slip out of place!