Wrapper MMIO in C++ is possible?

Good afternoon, excuse me, does anyone have an example for wrapping MMIO read and write in C or C++ and then calling it in Python with CFFI, or is this not possible?

This is what PYNQ does in a few places with C or C++ code (e.g. peripheral drivers).
Have a look through the repo for CFFI: