ISP login supported router

Is it possible to replace ISP provided router with our own router (i.e ISP login supported)? thanks in advance.

If pppoe then it should be ok to replace.

Also IPoE (DHCP).
Here is an example about pppoe over fiber optic

I have fiber optic internet and I asked to my ISP the username and password and I only use my Flint now.