Been doing exactly this on my narrowboat for the past eight months or so. Running a Pi 4 with Venus OS (Victron's own software) which talks to my Multiplus via a USB-to-MK3 cable. It's brilliant once it's set up — full VRM portal access, historical data, the lot.
That said, the initial setup was a proper faff. Lots of forum-diving and config file editing before everything played nicely together. Not sure I'd recommend it to someone who isn't already comfortable with Linux.
If you want something simpler, I've seen a few people on here mention Cerbo GX as the plug-and-play alternative — does essentially the same job but without the tinkering. Obviously costs more though.
For non-Victron kit, I think the picture is murkier. Does anyone have experience logging data from a Renogy inverter-charger? My neighbour on the next berth has one and we've been trying to work out whether a Pi could talk to it over Modbus. We got partway there but the documentation is frustratingly sparse.
Also curious whether anyone's pushed their Pi data into Home Assistant or InfluxDB for dashboards. Is that overkill for a simple boat setup, or genuinely useful day-to-day?