I don't see anything wrong with it as long as it works. Just make sure you pull the joint together tightly with a clamp before pinning. I am assuming you are using yellow glue, and that will set up on the joint very rapidly with the clamp pressure. However, if you are the type to follow Norm Abram's advice that you only need a little bit of clamping pressure, then you could end up with joint problems, as the glue wouldn't tack quite as quickly with less pressure. You also have to make sure to handle the workpiece carefully, because if the tacked glue loosens up, the joint will be weak.