We do not currently know of any adverbs for midnight.
Using available adjectives, one could potentially construct nonstandard adverbs such as midnightly, midnightishly or midnightlily.
Note, however, that these words will not generally be contained within standard English language lexicons.