A quick recommendation for something I just found.
Not quite finished but functional enough to correct all the “decisions” Apple made for your pointing device. You can make side buttons work again, pointer- and scroll-acceleration can be controlled, even custom button mapping is supported.
Apple silicon native. Can also be installed with homebrew.