In the times of the Talmud upon wake up they immediately started with the blessing, but we can only say a prayer but not a blessing.