While the Laws of Cricket state that you can declare an innings in a match of any length(ie Test or ODI or T20), ICC prohibits it. All international matches are played in accordance respective 'ICC Playing Conditions' rulebook. You can check out the Playing Conditions Books here
A brief list :
ICC Test Matches
It may be agreed to limit any innings to a number of overs or to a period of time.Single inning test matches (according to Law 21.2) are not allowed.
ICC ODIsAll the rules related to test matches(ie, Follow-ons, adding time between innings, adding time at the end of the day, changing the ball after one day's play,...