There's a builtin setting to invert page buttons (can't quite remember where in the top menus, though, and the device I have on hand right now doesn't have buttons; use the menu search from the hamburger menu. It *might* only be visible in a document)

.
Barring that, it *should* be doable in a user-patch (it will need to run *after* Device's init, though).