It is possible, you will need to create a php class to connect to the eggdrops partyline, then execute the commands through the php class.
Or you can create a php class to connect to the eggdrops shell, and use the kill and ./eggdrop etc ... as you cant connect to the eggdrops partyline to start it back up...