It really depends on the topic. I don’t want to see a funny IRS page during tax time. But a quick photoshop of a jackalope, or water on Mars, may be OK.
Any attempt at humor would have to be on more of an “entertainment” page, as opposed to a “regulation” or “statistics” type page, where people are looking for real information. If your agency has that kind of page, go ahead.