is there a possibility to clear bgp sessions using netconf or junoscript?
I'm unfamiliar with Netconf but you can do this with JUNOScript or with a local op script. There is no API Element for the "clear bgp sessions" command but you can send the following element instead:
<command> "clear bgp session" </command>
Replace the string with the full command you would enter on the CLI prompt.