There may be good reasons (I don't know any) why it wasn't done like this, but from a high-level it looks possible to me too yes.