PPoE and Hotspot

good day, is there any script or config that in one router runs PPoE and Hotspot the same time?
also is there a script that i can put a time limits on my PPoE client (example: 30days) after the days i gave to my ppoe client it will disconnect not removed so i will not change his username and password?

Radius manager may help