Extracting pure chemicals from gelcaps is fucking with a great many very smart people right now. It can be done, but for the purpose you intend, it is not needed. Just eat them.