Most, if not all, of the guitar RealTracks have RealCharts. RealCharts is a midi transcription of the guitar audio performance so midi is likely available.
However all of the midi transcription likely has a velocity value of 0, no volume, to prevent a midi patch from sounding while the RealTrack audio is playing. So all the midi will need to be edited to add velocity values.
Band-in-a-Box does have a monophonic audio to midi capability. That means it can convert single note audio, for example the sound of a whistle, trumpet or saxophone, to midi. So it may be able to convert a picking pattern as long as multiple notes are not picked at the same time. Guitar strums and multi-note picking patterns are polyphonic and composed of multiple sounds. Band-in-a-Box is not capable of converting polyphonic audio to midi.
An online program separates a song audio file into its component parts is
+++ EZ Stems +++.