Is it possible to find a function with certain conditions?
$$x \gt 0 \Rightarrow f(x) \gt 0$$ $$x = 0 \Rightarrow f(x) = 0$$ $$f'(1)+f'(6)=a \ne 0$$ $$f'(2)+f'(5)=0$$ $$f'(3)+f'(4)=0$$ $$f'(1) \ne 0$$ $$f'(2) \ne 0$$ $$f'(3) \ne 0$$ $$f'(4) \ne 0$$ $$f'(5) \ne 0$$ $$f'(6) \ne 0$$
I don't care how function behaves when $x<0$.
The function as well as its derivative should be continuous.
Possibly, there is some approach to build such function.
Thank you.



There is a construction of a smooth function verifying exactly your conditions :
Proof :
Let $$h(x)=\left\{ \begin{aligned} 0 &\quad \text{if} \quad x\leq 0\\ e^{-\frac1x} & \quad \text{if} \quad x>0 \end{aligned} \right. $$
Then $h$ is a smooth function (proof by induction on $n$ over $h^{(n)}$) strictly increasing for $x>0$.
It is sufficient to define $$ g_{\varepsilon}(x):=\frac{h(h(\varepsilon)-h(x))}{h(h(\varepsilon))}. $$
$ $
Proof :
Let $g_{\varepsilon}$ define as in Lemma 1. We just have to define $$ f_{a,b;\varepsilon}:= g_{\varepsilon}(-x+a)\times g_{\varepsilon}(x-b)$$
Main function (for the original question)
$$\boxed{ f(x):=(2|a| +ax)f_{\frac{1}{4}, \frac32+\frac14;\frac14}(x)+f_{\frac{3}{2}, \frac52;\frac14}(x) +f_{\frac{5}{2}, \frac72;\frac14}(x) + f_{\frac{7}{2}, \frac92;\frac14}(x)+ f_{\frac{9}{2}, \frac{11}2;\frac14}(x)+ f_{\frac{11}{2}, \frac{13}2;\frac14}(x)+ g_{\frac14}(-(x-\tfrac{13}2))}$$
Since in particular $f'(1)=a$, $f'(2)=f'(3)=f'(4)=f'(5)=f'(6)=0\ $ and $f(0)=0$, and $f(x)>0$ for $x>0$, you will have indeed $$x \gt 0 \Rightarrow f(x) \gt 0$$ $$x = 0 \Rightarrow f(x) = 0$$ $$f'(1)+f'(6)=a \ne 0$$ $$f'(2)+f'(5)=0$$ $$f'(3)+f'(4)=0$$
Main function (for the actual edited question)
$$\boxed{ \begin{align*} f(x):=& \Big(|a|+\frac{a}{2}x\Big)f_{\frac{1}{4}, \frac32+\frac14;\frac14}(x)+(6-x)f_{\frac{3}{2}, \frac52;\frac14}(x) +(6-x)f_{\frac{5}{2}, \frac72;\frac14}(x)+ xf_{\frac{7}{2}, \frac92;\frac14}(x) \\ &+ xf_{\frac{9}{2}, \frac{11}2;\frac14}(x)+ \Big(6|a|+\frac{a}{2}x\Big)f_{\frac{11}{2}, \frac{13}2;\frac14}(x)+ g_{\frac14}(-(x-\tfrac{13}2)) \end{align*} } $$ Which is a smooth function verifying (since $f'(1)=f'(6)=\frac{a}2$, $f'(2)=f'(3)=-1$, $f'(4)=f'(5)=1$, and we still have $f(x)>0$ for $x>0$ and $f(0)=0$) all the following $$x \gt 0 \Rightarrow f(x) \gt 0$$ $$x = 0 \Rightarrow f(x) = 0$$ $$f'(1)+f'(6)=a \ne 0$$ $$f'(2)+f'(5)=0$$ $$f'(3)+f'(4)=0$$ $$f'(1) \ne 0$$ $$f'(2) \ne 0$$ $$f'(3) \ne 0$$ $$f'(4) \ne 0$$ $$f'(5) \ne 0$$ $$f'(6) \ne 0$$
Is that good for you?