Payment With Points System


is it possbile to configure a points system as a payment solution?

E.g. vendor A provides service/product P for X amount of points. After selling service/product P he gets awarded X points to his account and can then buy services/products from vendor B with his/her points.

Bonus-question: Are the services/products preconfigurable by the admin, so that a vendor can preselect a service/product which he wants to offer?

thanks and best regards