As you pointed out the typical control loop for a quadrotor is a nested one, with a position controller and a orientation controller (I prefer to use orientation instead of attitude to avoid confusion with altitude which happens more often than not). If you want to find some literature the set up you describe is often referred as P-VTOL , for Planar Vertical Take-Off and Landing.
In this case
is the position controller the one that converts my desired position,velocity, and acceleration into a roll/pitch command?
the answer is yes, the position controller generate the thrust magnitude and orientation to achieve good position tracking and the orientation controller is then responsible of tracking the orientation coming from the position controller.
That being said in the model you posted (first figure) you have as input pitch and roll commands, which is not possible in the planar case as in the plan there is only one angle. Usually for PVTOL system input are chosen as the total thrust ($F$) and the torque $\tau$ (as in your second figure) or as the two thrust $f_1,f_2$ produced by each propeller.
The relation between the two is simple and linear
$$ \begin{bmatrix} F \\ \tau \end{bmatrix} = \begin{bmatrix} 1 & 1 \\ d & -d\end{bmatrix} \begin{bmatrix}f_1 \\ f_2 \end{bmatrix}$$
Where $d$ is the distance between the propeller and the center of mass, and is assumed the same for all propellers.
Also note that from your second pictures it seems that you want to control at the same time 2 positions (y,z) and the orientation. This is impossible as the PVTOL is underactuated and only has 2 control inputs, you can either control the 2 positions but not the orientation or 1 poisiton and 1 orientation (usually z and $\phi$). The typical approach for near-hovering flight and non aggressive maneuvers is to give desired trajectory for the 2 position.
how do I create a position controller?
To create a controller you need to consider your system model, ie the mapping between your control input and your state. The trick for quadrotor is that the total thrust is exerted along a fixed direction in the body frame, so to change the orientation of the thrust you need to change the orientation.
Here I will sketch the basic rationals behind the position controller.
Consider that you have an error in position along both axes $e_z$ and $e_y$ to make it disappear you need to move your platform in the direction defined by the vector $\begin{bmatrix} e_y \\ e_z \end{bmatrix}$, this gives you the desired orientation of your total thrust vector, ie z-axis of the PVTOL, that needs to be fed to the orientation controller which will compute $\tau$. The magnitude of the total thrust is usually regulated via PD on the errors, this directly defines $F$.