Replacing the dialer
I don't think we can do this just by installing an app.

I mean, we can't define our new app as default app for making/receiving calls.

So, I think it's in ROM developer's hand. Only they can replace it with custom one, AFAIK.