Yes, white sugar can be replaced with brown sugar. I prefer to use brown sugar because it has more molasses and so gives the chocolate cake a nice dark colour.