How can I request camera permissions, without opening the camera

Is there a way I can request camera permissions or library permissions alone?