IF the toilet got blocked by the stash, you may be able to recover them, but removing the toilet and putting it back in place sealing it properly may take a few hours of work, some tools and materials.
You may or may not possess the skills to do this and a professional will not be cheap.
BUT, if it is not blocked it is 99.9999% likely that the drugs are now in the sewers, if you flushed more than once make it a 100%.
Next time, unless Law Enforcement is paying a visit, put them in the toilet tank if it is accessible, zip lock bags are your friends.