No.
1000 times no.
For the pizza base you use flour, water, salt and yeast.
For fresh pasta most of the time you use flour and eggs.
The process moreover is completely different.
You NEVER use tomato for making the fresh pasta or the pizza base.
You may use tomato as a condiment for pasta and pizza.
This comparison is even more wrong than comparing apples and oranges.
But I expect that unlike me you never cooked pizza and fresh pasta if you can't see the obvious difference.