Hello everybody,
Yes you can glue with epoxy, but it can be too soft, so it will not withstand compression. Look for Airex or Depron, in a shop selling RC model planes.