Yes, Users Flow works with Matomo (Piwik) Intranet Analytics when you self host Matomo on premise.

Previous FAQ: Why is Users Flow important?