Yes, It's perfectmy possible.
1) You create an hiearchical dimension as a master dimension composed of year and month:
2) You use a bar chart for example, and as a dimension, you choose the newly created one (the hierarchical):
To go the months, select a year and confirm, its months will appears as dimensions:
To go back to Year dimension, just click on the year (under the x-axis)
Hope this helps