You could connect a kind of "firewall" (or router) upstream of the router/modem.
This would work with any motherboard that has 3 network interfaces, or you could use a Raspberry Pi and buy two USB-RJ45 adapters.
(The Rasbperry Pi solution would be my favorite, as these devices require very little power in continuous operation)
You can install a normal Linux on the Raspberry Pi (the RPI imager is suitable for this)
When the Pi is running, simply set up forwarding rules using IP tables, e.g. that all traffic from interface A
(your neighbor) and interface B
(you) should be forwarded to interface C
(where your router/modem is connected).
There are great Grafana projects for Raspberry Pis.
There you can visualize the bandwidth per network interface.
To do this, you need to install Telegraf, InfluxDB and Grafana.
Don't worry, it all sounds terribly complicated, but in the end it's not at all (and it's also a bit of fun)
Another advantage would be that you could also implement a few security features in this way. For example, you could prohibit traffic from being routed from interface A
(your neighbor) to interface B
(you).