While I don't practice in your state, here is my take on your question.
Of course you can list and sell your house while it is in an active foreclosure. However, if buyers get wind of it, that may kill the value of the selling price.
My suggestion is you sell it as quickly as you can and move on, especially if you owe less than the value of the house itself.
Good luck and move on it quickly.