Can I ask a lecturer for letter of recommendation I wonder can I ask a lecturer who I took his course and I did amazing in his class for a letter of recommendation?
The reason why I am asking is because lecturers are not usually doing research and might be permanent faculty member.
If you're applying for a research-based position, it is almost always better to have letters of recommendation from people who know you and can comment on your research skills. 

However, if you do not have enough letters of recommendation that can come from such people, then a letter of recommendation from someone who knows your work well and can comment on your strengths and weaknesses is also acceptable—even if it is not a "permanent faculty member."