Is it a good idea to buy a breadmaker instead of a food processor for making pasta dough (and bread, obviously)? 
No. Pasta dough is much firmer than bread dough and could possibly break the machine or the blade. 