Yes. You can also use a butt joint with pocket screws or with biscuits.