Hello!
Yes, this would be allowed for menus, GUI, all of the basic elements in a VN engine, etc. Otherwise it’d be pretty unfair for people that do not want to use Ren’Py and would have to spend extra time to get to the same standard/mechanics that Ren’Py users get out of the box.
Anything outside of that, I’d recommend against though.
Hope that makes sense!