Yes, it is possible provided the manufacturer adds that option in the product. Many come with an always-on mode where you have to turn off the light manually. Most solar lighting fixtures lack this because the battery gets drained in few hours after a full charge.