User ID Tracking

Dear Expert,

Newbee here just wanna ask a question my site has number of user with unique user id stored in my database and what i want it to track user activity using this user id from my backend shoul that possible in piwik?

Thanks in advance