It is possible with the style tool of Qgis 2.2. Below an example:

![Example of custom dash pattern][1]

[1]: https://i.sstatic.net/WEM60.png


and the result:

![Result][2]

  
  [2]: https://i.sstatic.net/hJF5f.png