Pay per post

Is there a way to make this work for a user to pay per post to a category of their choice via paypal?
thanks