My understanding is that by adjusting the feedback resistor to 10 kΩ, I can obtain a 5 V output in your simulation files.
At this moment, you don't have a functioning circuit, just a saturated transistor.
Notice that in my schematic, the power supply V2 has only 5V, which is too low for such a regulator to output 5V. Change V2 to a higher value, for example, 30V.
At the input in_p, there is 0.5V; to obtain 5V at the output, the divider R1,R2 must divide by 10, for example, 1kΩ and 9kΩ.
Since the amplifier has low gain, it won't give exactly 5V. If you go into the amplifier properties and change Avol to 100k (100000), which is closer to real amplifiers, it will be 5V.
Similarly, referring to my first question regarding output-voltage adjustment, my inference from this simulation is that the output voltage can be adjusted by changing R8. Is my understanding correct?
That's right, you can adjust the voltage by changing R8, but with this method, you won't get less than 2.5V because that's what you'll get if you set R8=0.
Derive the formula for voltage as a function of R8.
By replacing R3 and R4 (in my simulation) with a potentiometer, the voltage can be adjusted from zero.
The 5V regulator with a high-gain amplifier will work like this:

The input voltage of the amplifier is below 1mV, so in simplified terms, it is said that the amplifier strives to achieve 0V at the input.