Yes. Carpenter's glue is the best glue you can use. Just make sure the joints fit well and double-glue end grain. What that means is putting some glue on, letting it soak in for a minute and then putting a little more glue on when you put the part in place.
I have a page on my site that explains glues in a lot more detail.
Adhesives used for model-building