In many cases the answer is yes, particularly if this is your first offense and you are charged with only possession. Each case is different, but generally bail is possible.