No, mattresses can not be placed next to a dumpster. You can arrange a special pickup for it by contacting the waste department or drop it off at any recycling center or landfill.