Yes, you can be ticketed for impeding traffic by driving too slow. It will be based on multiple factors, including your attitude if stopped.
Road conditions, your vehicle, your reason for driving slower, weather, your actual speed versus the speed limit, available places to pull over and let others pass, etc., will all play a factor.
The biggest thing is common courtesy. If you want to go slower that's fine, but move over and let folks pass when possible to do so safely. You are unlikely to get ticketed this way.
If you want to relax and enjoy the scenery, then pulling over on occasion should not be a problem.
When I'm driving the clipper or towing on curvy roads, I won't pull over unless it's pavement because of the need to reduce speed quickly while moving off pavement. I also won't pull over going uphill as it is too difficult to regain my speed (as slow as it may be). I always move to the right when I hit a passing lane and I will pull over while coming downhill. On flat straight roads, I will move as far to the right as I can get so others can pass me when safe. As I often get waves as folks pass under all those conditions, I believe that I am reasonable in my behavior.