hi.
it is possible and easy.
i had this problem beafor.
you must do this.

1-you must download a library h file.
2-you must create library xml file with this command.
java -jar b4rh2xml.jar << library h filename and path >> << new library xml filename and path>>
3-you must define short library name for new xml library file like below.this name will be show in b4r editor rightclick.
<shortname> library shortname</shortname>
you must write this after
<name>B4R::library name</name>