Yes... aerosol shaving cream can work (for some very well).
You can shave with bar soap.
You can shave with shampoo.
You can shave with hair detangler/ conditioner.
You can shave with water.
You...