Ram as storage

Hello everyone,
Since I have less storage on TP-Link CPE510 around 500kb,I'm wondering if is possible to use ram as temporary storage.I know that will be gone everything installed on it after next reboot.
But is it somehow possible to do it?
I need around 15mb of ram usage for opkg to be able to install some packages.
Here my current usage:

See Non Standard Installation Destinations section in docs

A previous discussion may be helpful.

I just use opkg install package_name -d ram to install in temp space.
But those installed packages can't be accessed from cli directly (at least in my case). You can access them from /tmp/usr/bin/