Yes it is. Use the
<> button of the html editor to manually add html tags and code to the block.
Sometimes some tags still get stripped out. If that happens, you can also temporarily disable the html editor in your user profile and then add the pure code inside the block.