Yes, menu writer can create this sort of dynamic menu. For details onthe dynnamic capabilities of menu writer , see the "Creating Dynamic Menus with CSS Menu Writer 2.0" tutorial in the how to section of the menu writer support page:
css-menu-writer/