Cucumbers aren’t sour until you make them pickles. But cucumbers would either make the pizza soggy, or dry out while you bake it.
But there are a lot of vegetables you can put on a pizza. Peppers, olives, mushrooms, broccoli, onions. Cucumbers, probably not, but I could be wrong.