Is it possible to do that in Revit?
Yes it is and please read the following post to get help on the forum
Found it. Archi lab has it. Thank you.
Side FYI, you can access warnings directly from revit by using the following in python(eg no need to save them out as HTML).