All you have to do is trap the opal in the glass. This can be done by getting glass hot, rolling it in some crushed opal, and encasing it with a glass rod
Or you could put some crushed opal in a tube with some frit and the frit will help trap the opal in the glass.