It can be done. You can buy temporary cement over the counter and place it your self. But it is not recommended, as you may end up placing it wrong and that will be a problem. If possible visit your dentist sooner and get it done the right way.
Also, you may want to use a home remedy to get by until you get the temp cement. Vaseline creates a seal and some degree of holding power for cosmetic purposes...just not enough for chewing purposes. Best wishes for a speedy re-cementation visit. Dr. Bill Williams