Not easily. You could copy some code from Kareha's format_post()
function to Wakaba's, though. It has an automatic HTML sanitizer and filter. I very very strongly recommend using this if you want to hack this, because adding support for HTML safely is very, very hard.