My short answer would be: No.
My long answer would be: Pretty sure that if you know what you are doing, you CAN code it, but I'm not sure if the site would let your code run, or if you could put it in the right place, as:
1. You don't own the server/site.
2. Collecting data like that could be viewed as a breach of privacy for the readers and security for the site (ie. letting ppl run their own code that is tied with what users to this extent). Pretty sure that is why profiles lost the ability to be heavily edited w/ html.
Then again, I don't know anywhere near enough about Java and the Site's editor's interaction with it.
I am, however, curious to know if my answer is close enough to the correct one, even if I got some of the jargon wrong.