Of course! Just touching these files should be everything you need:
/etc/sysctl.d/99-240716-vm.conf
vm.dirty_background_ratio = 1
vm.dirty_ratio = 100
vm.page-cluster = 0
vm.swappiness = 200
vm.vfs_cache_pressure = 1
dirty_background_ratio = starts background writing when it's at least 1% of available mem; dirty_ratio = starts force writing when all avail (not total) ram is full; page-cluster = swap in only what's needed; swappiness = lower means swapping is expensive higher signals swapping is cheap; vfs_cache_pressure = lower keeps more dentries and inodes in memory.
/etc/udev/rules.d/99-240716-ioschedulers.rules
ACTION=="add|change", KERNEL=="mmcblk[0-9]*|nvme[0-9]*|sd[a-z]*", ATTR{queue/scheduler}="none"
Removes schedulers from typical local writeable storage.
/etc/systemd/zram-generator.conf
[zram0]
zram-size = ram
compression-algorithm = lz4
Might have to install systemd-zram-generator if it doesn't already exist.