Conditional Homepage for logged in user

I want to change the home page url of wordpress site to another url when the user is logged in and have a specific role. Is this possible?

Thanks in advance.