Yes, there are some examples do this without having NIOS II. Please check the examples below:
Unfortunately, there isn't a VHDL example to read/write a user flash on MAX 10. But you can open the platform designer and regenerate the Qsys file in VHDL instead of Verilog. Please make sure to review the inclusion of this file into the top level.